package com.gitee.ixtf.rsocket

import com.gitee.ixtf.core.kotlinx.IxtfEnvInt
import com.gitee.ixtf.core.kotlinx.IxtfEnvString

const val BROKER_ROUTE = "broker"
val BROKER_HOST by IxtfEnvString("broker.host", "localhost")
val BROKER_PORT by IxtfEnvInt("broker.port", 39998)

val DISCONNECTED_ERROR = RuntimeException("DISCONNECTED_ERROR")
val CLOUD_EVENT_TYPE_ERROR = RuntimeException("CLOUD_EVENT_TYPE_ERROR")
